
import Vue from 'vue'
import App from './App.vue'
import router from '@/router'
import store  from './store';   //引入store
//elementUI框架
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

//引入网络请求
import { request ,requestSys } from "./request/index"

//注册全局请求
Vue.prototype.$request = request;
Vue.prototype.$requestSys = requestSys;

Vue.use(ElementUI,{ size: 'small', zIndex: 3000 });

Vue.config.productionTip = false

const vm = new Vue({
  render: h => h(App),
  router,
  store      //注入store
}).$mount('#app')

export default vm;

